package com.example.springalibabacloudclient.feign.impl;

import com.alibaba.fastjson.JSONObject;
import com.example.springalibabacloudclient.feign.TestFeign;
import com.example.springalibabacloudclient.utils.Results;


import java.util.Map;

/**
 * @author X.I.O
 * @title: TestFeignImpl
 * @projectName spring-cloud-1
 * @description: TODO
 * @date 2021/11/7 13:27
 */
public class TestFeignImpl implements TestFeign {

//    @Override
//    public JSONObject proApi() {
//        return Results.success("服务访问异常");
//    }
//
//    @Override
//    public JSONObject proV2() {
//        return Results.success("服务访问异常");
//    }

    @Override
    public String getJSONObject() {
        return "服务访问异常";
    }
}
